const state = {
    spuName:"",
    skuIndex:0
}
const mutations = {
    updateGoodState(state: any, payload: any) {
        const keys:Array<any>=Object.keys(payload);
        keys.forEach((key)=>{
            state[key]=payload[key]
        });
    },
}
export default {
    namespaced: true,
    mutations,
    state
}
